package com.xca.znb.entity;

import java.util.List;

public class Goods {
    private Integer id ;
    private String name ;
    private String first_image ;
    private String img_list ;
    private String type ;
    private double price ;
    private String unit ;
    private String freight ;
    private String address ;
    private String text ;
    private String publisher ;
    private String state ;

    public Goods(){

    }
    public Goods(String name , String first_image , String img_list , String type , double price ,
                 String unit , String freight , String address , String text , String publisher , String state){
        this.name = name ;
        this.first_image = first_image ;
        this.img_list = img_list ;
        this.type = type ;
        this.price = price ;
        this.unit = unit ;
        this.freight = freight ;
        this.address = address ;
        this.text = text ;
        this.publisher = publisher ;
        this.state = state ;
    }

    public Goods(int id , String name , String first_image , String img_list , String type , double price ,
                 String unit , String freight , String address , String text , String publisher , String state){
        this.id = id ;
        this.name = name ;
        this.first_image = first_image ;
        this.img_list = img_list ;
        this.type = type ;
        this.price = price ;
        this.unit = unit ;
        this.freight = freight ;
        this.address = address ;
        this.text = text ;
        this.publisher = publisher ;
        this.state = state ;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFirst_image() {
        return first_image;
    }

    public void setFirst_image(String first_image) {
        this.first_image = first_image;
    }

    public String getImg_list() {
        return img_list;
    }

    public void setImg_list(String img_list) {
        this.img_list = img_list;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getFreight() {
        return freight;
    }

    public void setFreight(String freight) {
        this.freight = freight;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getPublisher() {
        return publisher;
    }

    public void setPublisher(String publisher) {
        this.publisher = publisher;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "Goods{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", first_image='" + first_image + '\'' +
                ", img_list='" + img_list + '\'' +
                ", type='" + type + '\'' +
                ", price=" + price +
                ", unit='" + unit + '\'' +
                ", freight='" + freight + '\'' +
                ", address='" + address + '\'' +
                ", text='" + text + '\'' +
                ", publisher='" + publisher + '\'' +
                ", state='" + state + '\'' +
                '}';
    }
}
